import ScrollerComponent from './scroller.vue'

const VueScroller = {
    install: function (Vue) {
        Vue.component(ScrollerComponent.name, ScrollerComponent)
        Vue.directive(ScrollerComponent.name, ScrollerComponent)
        Vue.mixin({
            created() {
                // console.log('scroller.js created')
            }
        })
        Vue.loading = function () {
            // console.log('Vue fn');
        }
        Vue.prototype.$loading = function () {
            // console.log('$alert');
        }
    }
}
export default VueScroller